package com.gdqy.FCS.dao;

import java.util.List;

import com.gdqy.FCS.common.persistence.CrudDao;
import com.gdqy.FCS.common.persistence.annotation.MybatisDao;
import com.gdqy.FCS.entity.Brand;

import net.sf.jsqlparser.statement.select.Select;

@MybatisDao
public interface BrandDao extends CrudDao<Brand>{

	public int selectCountByEnterprise_id(int enterprise_id); 
	
	public List<Brand> selectAll();
	
	public Brand selectById(int id);
	
	public List<Brand> selectByEnterprise_id(int enterprise_id); 
	
	public int deleteById(int brand_id);
	
	public List<Brand> selectByClothing_type(String big_code,String middle_code,String small_code);
	
	public List<Brand> getBrandByClothing(String code);
	
}
